package com.xinxin.leetcode.problem507;

/**
 * @author ShiXinXin
 * @date 2020-01-11 2:22
 */
class Solution {
    public boolean checkPerfectNumber(int num) {
        return num == 6 || num == 28 || num == 496 || num == 8128 || num == 33550336;
    }

    public static void main(String[] args) {
        System.out.println(new Solution().checkPerfectNumber(6));
    }
}
